package Market.exchange;

import java.io.Serializable;

import lombok.Data;

@Data
public class MarketData implements Serializable{
    private final long serialVersionUID = 2L;
    private String key;
    private String securityid;
    private String market;
    private String date;
    private double time;
    private String quote_type;
    private double preclose;
    private double open;
    private double high;
    private double low;
    private double last;
    // private double close;
    // private String trading_phase_code;
    // private String offer_prices;
    // private String offer_volumes;
    // private String bid_prices;
    // private String bid_volumes;
    // private double total_volume_trade;
    // private double total_value_trade;
    // private double high_limited_price;
    // private double low_limited_price;
    // private double total_position;
    // private double settle_price;
    // private String _253;
    // private double _254;
    // private double preopen_interest;
    // private double presettle_price;
    // private double predelta;
    // private double currdelta;
    // private String action_day;

    public Long getRecordTime(){
        // return this.date+Double.valueOf(this.time).toString();
        // System.out.println(Double.valueOf(this.time));
        return (long) this.time;
    }

}
